package com.spring4.aop.aspectj.client;
import com.spring4.aop.aspectj.service.impl.HelloImpl;

import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

/**
 * Created by lyc on 2016-04-04.
 */
public class Client {
    public static void main(String[] args) {
        ApplicationContext context=new ClassPathXmlApplicationContext("applicationContext.xml");
       HelloImpl hello= context.getBean(HelloImpl.class);
        hello.say("Even521 use  aop spring+aspectj");

    }
}
